* {
  box-sizing: border-box;
}

html, body, #app {
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: black;
  color: white;
}

.clearfix:after {
  content:"";
  display:block;
  visibility:hidden;
  clear:both;
}

/* === 标签页盒子 ======================== */
#tabs-box {
  width: 100%;
  height: 60px;
  padding: 0 0 0 10px;
  background-color: #393F45;
  border-bottom: 1px solid #D1D1D1;
}
#tabs-box > .btn {
  height: 40px;
  text-align: center;
  line-height: 32px;
  margin: 10px 10px 0 0;
  padding: 0 10px;
  float: left;
  border: 1px solid #D1D1D1;
  border-radius: 6px;
  cursor: pointer;
}
#tabs-box > .btn:hover {
  color: #3f9cff;
  border: 1px solid #3f9cff;
}
#tabs-box > .btn-current {
  color: #3f9cff;
  border: 1px solid #3f9cff;
}

/* === 列表盒子 ======================== */
#list-box {
  width: 100%;
  /* height: calc(100% - 220px); */
  height: calc(100% - 160px);
  overflow-y: auto;
}

.item {
  position: relative;
  width: 100%;
  min-height: 40px;
  margin: 0 0 10px 0;
  padding: 5px 10px;
  font-size: 30px;
  line-height: 40px;
  border: 1px solid rgb(150, 150, 150);
  cursor: pointer;
  word-break: break-word;
  
}

.item:hover {
  background-color: #393F45;
  color: white;
}
.item > div {
  white-space: pre-line;
}

.del-btn {
  position: absolute;
  top: 0;
  right: 0;
  opacity: .4;
  font-size: 20px;
}

.del-btn:hover {
  opacity: 1;
}

/* === 文本盒子 ======================== */
#text-box {
  width: 100%;
  height: 160px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
#text-value{
  width: calc(100% - 100px);
  height: 100%;
  background-color: #9F9F9F;
  resize: none;
}
#send-btn, #login-btn {
  width: 100px;
  height: 100%;
  display: inline;
  font-size: 36px;
  font-weight: bold;
  color: white;
  background-color: #9F9F9F;
}

/* // === 滚动条 开始 ================================= */
/* // 背景 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  border-radius: 10px;
  background-color: #202124;
}

/* // 滑块 */
::-webkit-scrollbar-thumb {
  background-color: #9F9F9F;
  border-radius: 10px;

  &:hover {
    background-color: #D1D1D1;
  }
}

/* fade-transform */
.fade-transform-leave-active,
.fade-transform-enter-active {
  transition: all 0.5s;
}

.fade-transform-enter {
  opacity: 0;
  transform: translateX(-30px);
}

.fade-transform-leave-to {
  opacity: 0;
  transform: translateX(30px);
}

/* // === 滚动条 结束 ================================= */